//
//  c_RenderAppDelegate.m
//  c_Render
//
//  Created by liao peterson on 10/29/09.
//  Copyright uestc 2009. All rights reserved.
//

#import "c_RenderAppDelegate.h"


@implementation c_RenderAppDelegate

- (void)applicationDidFinishLaunching:(UIApplication *)application {
	/*glView = [[EAGLView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
	[glView initEAGL];
	[glView makeKeyAndVisible];
	glView.animationInterval = 1.0 / 60.0;
	[glView startAnimation];*/
	core = [[GameCore alloc] init];
	[core Game_Init];
}


- (void)applicationWillResignActive:(UIApplication *)application {
	//glView.animationInterval = 1.0 / 5.0;
}


- (void)applicationDidBecomeActive:(UIApplication *)application {
	//glView.animationInterval = 1.0 / 60.0;
}


- (void)dealloc {
	//[glView release];
	[super dealloc];
}

@end
